/**
 * A React component to view a PDF document
 *
 * @see https://react-pdf-viewer.dev
 * @license https://react-pdf-viewer.dev/license
 * @copyright 2019-2024 Nguyen Huu Phuoc <me@phuoc.ng>
 */

.item {
    align-items: center;
    color: hsl(var(--rpv-foreground));
    cursor: pointer;
    display: flex;
    padding-bottom: 0.25rem;
    padding-right: 0.25rem;
    padding-top: 0.25rem;

    &:focus {
        background-color: hsl(var(--rpv-accent));
        outline: 0;
    }

    &:hover {
        background-color: hsl(var(--rpv-accent));
        color: hsl(var(--rpv-accent-foreground));
    }
}

.toggle {
    /* Center the icon */
    align-items: center;
    display: flex;
    height: 1rem;
    margin-right: 0.25rem;
    width: 1rem;
}

.title {
    flex-grow: 1;
    flex-shrink: 1;
    text-decoration: none;
}
